package com.zetor.ms.core.bo;

import java.io.Serializable;

/**
 * 结果集，controller层使用
 * @author zlc
 * @date 2021/12/23
 */
public class Result<T> implements Serializable {

	private static final long serialVersionUID = 7632110308376978265L;

	private HeadBO head = new HeadBO();

	private T body;

	public HeadBO getHead() {
		return head;
	}

	public void setHead(HeadBO head) {
		this.head = head;
	}

	public T getBody() {
		return body;
	}

	public void setBody(T body) {
		this.body = body;
	}

    @Override
    public String toString() {
        return "ResultBO [head=" + head + ", body=" + body + "]";
    }


}
